# cat run.sh
#!/bin/bash
# -D PYTHON_INCLUDE_DIRS=$(/usr/bin/python3.9 -c "from distutils.sysconfig import get_python_inc; print(get_python_inc())") \
# -D PYTHON_LIBRARY=$(/usr/bin/python3.9 -c "import distutils.sysconfig as sysconfig; print(sysconfig.get_config_var('LIBDIR'))") \
set -x
cmake -Wno-dev \
    -D CMAKE_BUILD_TYPE=Release \
    -D CMAKE_INSTALL_PREFIX=/usr \
    -D Boost_NO_BOOST_CMAKE=ON \
    -D PYTHON_EXECUTABLE=/usr/bin/python3.9 \
    -D PYTHON_INCLUDE_DIRS=/usr/include/python3.9 \
    -D PYTHON_LIBRARY=/usr/lib64/python3.9 \
    -D RDK_BUILD_AVALON_SUPPORT=ON \
    -D RDK_BUILD_CAIRO_SUPPORT=ON \
    -D RDK_BUILD_CPP_TESTS=OFF \
    -D RDK_BUILD_INCHI_SUPPORT=ON \
    -D RDK_BUILD_FREESASA_SUPPORT=ON \
    -D RDK_INSTALL_INTREE=OFF \
    -D RDK_INSTALL_STATIC_LIBS=OFF \
    ..